I am trying to convert from R to Julia, as i really like Julia and the nice
development going on here. But there are certain operations that are a lot
more complicated to do in Julia, even though they are mainstay (I will do
the several times every day). But I am in doubt if I just don't know hwo to
do them properly in Julia.
One of them is converting array elements - say for example I have sample
plot names - often they are listed in data files as ASCIIString or
UTF8String (depending on the nationality of collaborators), and often they
are just integers. In R I would treat them all as string:
ID <- as.character(ID)
and get on with my life. In Julia this does not sound so easy - the
'easiest' way of doing this is
ID = [UTF8String("$x") for x in ID]
Are there ideomatic ways of converting array elements? I would believe so,
as this is so often used by people who work with data.
Thanks!