30164/saying-sprintf-2151028214-invalid-format-numeric-objects
I'm trying to convert dec to hex using sprintf and i'm facing an error:
> sprintf("%x",2109440182) [1] "7dbb80b6" > sprintf("%x",2151028214) Error in sprintf("%x", 2151028214) : invalid format '%x'; use format %f, %e, %g or %a for numeric objects
gcc : format ‘%x’ expects an argument of type ‘unsigned int’, but argument 2 has type ‘long int’.
The number is larger that an unsigned int. Max range in my system is 2147483648,
Try it in the following way:
printf("%x\n", 2147483647);
Try reinstalling the package quantreg. Hope this works. Its ...READ MORE
I installed package KernSmooth and it seemed ...READ MORE
data = data.frame( zzz11def = sample(LETTERS[1:3], 100, replace=TRUE), zbc123qws1 ...READ MORE
Hey @ali, rnorm() function requires an argument, ...READ MORE
There can be two reasons for this ...READ MORE
This error is likely to occur when ...READ MORE
This error occurs when one tries to ...READ MORE
This is a syntax error: Enclose your if ...READ MORE
Try replacing ID <- c("A123","A123","A123","A123","B456","B456","B456") item <- c("bread", "butter", ...READ MORE
Try this: source dataset in this format: 1 3 ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.