Displaying 20 results from an estimated 300 matches similar to: "How to speed up int2bin conversion?"
2003 Oct 23
1
Re: ichar() function in R : 1st implementation, RFC
(RFC := Request For Comments)
>>>>> "Tim" == Tim Keighley <Tim.Keighley@csiro.au>
>>>>> on Thu, 23 Oct 2003 11:45:22 +1000 writes:
Tim> Hi Martin,
Tim> In October 2000 you wrote to r-help:
>>> which reminds me that I've had a desire for something like
>>> the old S function [from the blue book, and
2018 Feb 08
2
[PATCH] syslinux/com32: Fix the printing of left zero padded hexadecimals with a leading '0x'.
From: Brett Walker <brett.walker at geometry.com.au>
When printing hexadecimal numbers to a fixed width, padded with leading zeros,
and also having a leading '0x'; the resultant string can be shortened by up to
two characters if any leading zero padding character required is.
int hexnum = 0x00001234;
printf("%08X", hexnum); // results in 00001234
2010 Feb 01
1
Number with fixed digit length - zero fill-up
Dear R-help members,
I'm quite new to R and I apologize for my basic question, but I haven't
been able to find a solution yet.
I try to interpret vector entries as a binary code, but unfortunately
every first digit which is zero disappears.
So how can I set any number (e.g. x = 10110) to a 8-digit zero fill-up (x
= 00010110) in order to address digit indices?
Or other way round, how
2003 Sep 14
2
Convert decimal to binary data
Hi,
I would like to convert a decimal into a binary number, for instance :
2->(1,0)
Any one knows how to do that ?
Thanks a lot
paul
---
[[alternative HTML version deleted]]
2009 Oct 07
1
Bug (PR#13987)
Full_Name: Clemens Bockmeyer
Version: 2.9.0
OS:
Submission from: (NULL) (193.174.111.250)
Dear helpdesk,
the following bug occurs when working with BRB Array tools trying to generate a
heat map:
Error in rgb (bitAnd(Max color 255), bit and Max color %/%256, 255 bit And Max
color...
could not find function "bitAnd".
Error occured while executing the following R command:
2006 Feb 13
2
Skilled API consultant required - preferably with Salesforce.com intergration
Hi all,
I was just on the phone with a B2C company in Australia who are looking
to integrate an Asterisk solution with their Salesforce.com CRM
platform.
They are looking for a consultant/team to provide the following
functionality
* Complex IVR
Eg can interface via API into Salesforce for customer service
interaction and product initiation.
* Call centre
Eg basic queues,
2015 Nov 14
2
Inexplicable ASAN report. Code generation bug?
On Thu, Nov 12, 2015 at 8:42 PM, Kostya Serebryany <kcc at google.com> wrote:
> 2 questions:
> - Do you see this with the fresh llvm trunk?
> - Can you prepare a minimized example?
Pretty recent, I updated a couple days ago. I tried to minimize the
attached but at the same time I didn't want to lose too many unions
and casts in case it didn't trigger any more.
$ clang
2014 Jul 29
2
Ayuda por favor
Saludos, estoy intentando usar la función reprojectHDF() (
http://r-gis.net/?q=ModisDownload).
####
source('ModisDownload.R')
library(raster)
library(RCurl)
path<-"~/R/MODIS/Data/Test"
input<-list.files(path,"*.hdf",all.files=T,recursive=T,full.names=T)
input
outname<-paste(substr(input[1],40,45),".tif",sep='')
outname
2009 Oct 28
1
output of "for"
Hello!
I've got troubles on following thing:
As output I need a string like:
INPUT_FILENAMES = H:\\AKK_temp\\Modis\\MOD13Q1\\austria\\MOD09Q1.A2008073.h18v04.005.2008083134952.hdf|H:\\AKK_temp\\Modis\\MOD13Q1\\austria\\MOD09Q1.A2008073.h19v04.005.2008082182221.hdf
The filenames (dates) are with pathname (wrkdr) and separated with "|". The number of input filenames changes
2012 Oct 11
1
Problems with getURL (RCurl) to obtain list files of an ftp directory
Dear all,
I have a problem with the command 'getURL' from the RCurl package, which I
have been using to obtain a ftp directory list from the MOD16 (ET, DSI)
products, and then to download them. (part of the script by Tomislav
Hengl, spatial-analyst). Instead of the list of files (from ftp), I am
getting the complete html code. Anyone knows why this might happen?
This are the steps i
2017 Jun 22
1
MODISTools Help
1. You should always cc the list unless there is a clear reason not to.
2. You still have failed to follow the posting guide: You say you have
difficulty troubleshooting your code, but you have shown us no code.
You got an error message that seems explicit, but with neither code
nor data, I do not know whether anyone can make sense of it. In any
case, I certainly cannot.
Cheers,
Bert
Bert
2000 Mar 06
1
nlm and optional arguments
It would be really nice if nlm took a set of "..." optional arguments
that were passed through to the objective function. This level of hacking
is probably slightly beyond me: is there a reason it would be technically
difficult/inefficient? (I have a vague memory that it used to work this
way either in S-PLUS or in some previous version of R, but I could easily
be wrong.)
Here's
2017 Jun 22
3
MODISTools Help
I am using MODIS Tools and am having a lot of difficulty troubleshooting my code.
I am a PhD student studying African buffalo in Kruger National Park, South Africa. The study I am currently working on involves a herd of 200 African buffalo caught every six months for 4 years. I am trying to use EVI and NDVI to assess seasonal variation thus I would like mean EVI and NDVI for each observation
2017 Jun 23
0
MODISTools Help
##MODISTools example
library(MODISTools)
library(lubridate)
setwd('~/Documents/Modis data')
#####MODISTools with buffalo data
###Read in data rename for easier coding
tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv')
firstobs <- subset(tbdata, capture.ID == 'B1-1108')
firstobs <- firstobs[,c(1,2,2,3,4)]
colnames(firstobs) <- c('id',
2018 Feb 08
0
[PATCH] syslinux/com32: Fix the printing of left zero padded hexadecimals with a leading '0x'.
On Thu, Feb 08, 2018 at 11:01:21AM +0000, Brett Walker via Syslinux wrote:
> From: Brett Walker <brett.walker at geometry.com.au>
>
> When printing hexadecimal numbers to a fixed width, padded with leading zeros,
> and also having a leading '0x'; the resultant string can be shortened by up to
> two characters if any leading zero padding character required is.
>
2017 Jun 23
1
MODISTools Help
On 6/22/2017 7:05 PM, Caroline wrote:
> ##MODISTools example
> library(MODISTools)
> library(lubridate)
> setwd('~/Documents/Modis data')
>
> #####MODISTools with buffalo data
>
> ###Read in data rename for easier coding
> tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv')
Since this dataset is only on your desktop it cannot help us
2005 Apr 21
1
Fwd: (KAME-snap 9012) racoon in the kame project
FYI, looks like support for Racoon is ending. Does anyone have any
experience with the version in ipsec-tools ?
---Mike
>Racoon users,
>
>This is the announcement that the kame project will quit providing
>a key management daemon, the racoon, and that "ipsec-tools" will become
>the formal team to release the racoon.
>The final release of the racoon in the
2005 Apr 27
2
Xen configuration
Question about bridge configuration on the host and virtual machine side.
I am not able to correctly configure xen so that the virtual machine can
access the network. Any suggestions would really be appreciated.
Gary
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2009 Aug 05
2
labeling in qplot
HI
am plotting different density plots in one graph each with a different
color.
And i want to add labels to plot mentioning which color belongs to which
data series.
p2 <- qplot(corArms, data = data1, geom = "density", adjust=0.4, main="Arms
Correlation All") +
layer(data=data2, geom="density", adjust=0.4, color=I(2)) +
layer(data=data3,
2013 Oct 18
0
pamer.fnc y la nueva versión de R
Gracias a todos por las recomendaciones. Ya me he puesto en contacto con el
autor y le explicado donde esta el error. Es tan fácil como que han
cambiado la estructura de los objetos tipos lmer desde la versión 2.15.3
con lo que su paquete dejo de funcionar. Por suerte la nueva estructura
conserva por lo menos la parte necesaria para hacer sus funciones. Se
localizar el fallo y como arreglarlo, lo