Displaying 20 results from an estimated 36 matches for "data_".
Did you mean:
data
2014 Oct 16
2
RCharts+Leaflet+Shiny
Daniel, muchas gracias por contestar y tan rápido.
Pues puede ser la solución, he hecho el cambio y sigue sin pintarme los
puntos ->
data_ <- toJSONArray(data_, json = F)
map$geoJson(
# leafletR::toGeoJSON(data_,
# # lat.lon = c('Lat', 'Long'),
# dest=output_geofile),
data_,
onEachFeature = '#! function(feature, layer){...
2014 Oct 15
2
RCharts+Leaflet+Shiny
....
Los círculos es lo que me trae de cabeza. Os dejo enlaces donde hay código
y ejemplos del autor de la librería, y el código de mi proyecto en github,
por si hay algún experto en el tema.
Pero aún así, adelanto que la chicha ocurre en esta función =>
map$geoJson(
leafletR::toGeoJSON(data_,
dest=output_geofile),
onEachFeature = '#! function(feature, layer){
layer.bindPopup(feature.properties.popup)
} !#',
pointToLayer = "#! function(feature, latlng){...
2011 Jun 22
1
Appending to list
So im here now b/c im incredibly frustrated. Please consider the following:
#Try 1
Data_<-list()
Sn<-1:12
for(sn in Sn){
for(i in 1:10){
Data.X <- rnorm(100,0,10)
Data_[[paste(sn,i,sep="-")]]<-Data.X
}
}
##Try 2
Data_<-list()
Sn<-1:12
for(sn in Sn){
for(i in 1:10){
Data.X <- rnorm(100,0,10)
Data_[[sn]][[i]]<-Data.X
}
}
In Try 1 i am able...
2013 Feb 15
2
sprintf in system command
hi all
I am using r (2.15.2) in windows 7 32bit
I want to execute an external program from r console. the program is a
command line program which needs the following format to start
C:/Users/.../dssp-2.0.4-win32.exe -i
data_1.txt -o data_1.dssp
I used the system command as:
system
('C:/Users/.../dssp-2.0.4-win32.exe -i data.txt -o data.dssp')
it worked.
Now I want to use the program on a list of files, so for that I used a
for loop and sprintf...
2006 May 14
2
[LLVMdev] __main() function and AliasSet
...=0x ptrb=0x ptrc=0x\0A\00" ; <[25 x sbyte]*> [#uses=1]
%ptr = weak global void ()* null ; <void ()**> [#uses=0]
implementation ; Functions:
declare int %printf(sbyte*, ...)
void %foo1() {
ret void
}
void %foo2() {
ret void
}
int %main(int %argc, sbyte** %argv) {
entry:
%data_b = alloca int ; <int*> [#uses=2]
%data_c = alloca int ; <int*> [#uses=1]
%data_d = alloca int ; <int*> [#uses=3]
%data_e = alloca int ; <int*> [#uses=2]
%data_f = alloca int ; <int*> [#uses=2]
call void %__main( )
store int 2, int* %data_b
store int 3, int*...
2006 May 14
0
[LLVMdev] Re: __main() function and AliasSet
Oh, I appologize that I should not have asked about __main() ---- it appears
in FAQ.
But the question remains that why call to __main() can alias stack location?
I think the memory location pointed by data_X pointers are not visible to
__main().
In comparison, calls to printf() do not have similar effect.
On 5/14/06, Nai Xia <nelson.xia at gmail.com> wrote:
>
> In a code segment of my pass plugin, I try to gather AliasSets for all
> StoreInst, LoadInst and CallInst instructions in a...
2006 May 15
2
[LLVMdev] Re: __main() function and AliasSet
...ith MOD/REF logic for functions as below:
i. inComplete nodes may MODREF by all function.
ii. external function does not MOD/REF any complete node.
iii if any function MOD/REF a node then all function considered as MOD/REF the node.
In other words, if I only use -steens-aa and the data_XXXs are all external global variables( and so inComplete ),
the call to printf will make the same effect, which I have tested it.
Am I right ? :)
On Monday 15 May 2006 12:52, Chris Lattner wrote:
> On Mon, 15 May 2006, Nai Xia wrote:
> > Thank you very much for your detailed help.
>...
2006 Jul 24
5
change the name of file
...dependent on a changing variable?
For instance. I generate random numbers in a loop and at each iteration I
want data to write to file (I do not want to write everything in one file
using 'append'):
for (i in 1:50){
x<-matrix(runif(100, min=0,max=1),nrow=5,ncol=20)
Write(t(x),file="Data_i.txt",ncolumns=5,sep="\t")
}
Of course file name Data_i.txt will be the same for changing i,
unfortunately.
Any suggestion would be appreciate
Robert
2006 May 17
2
[LLVMdev] Re: __main() function and AliasSet
On Tuesday 16 May 2006 03:19, Chris Lattner wrote:
> On Mon, 15 May 2006, Nai Xia wrote:
>
> > In other words, if I only use -steens-aa and the data_XXXs are all
> > external global variables( and so inComplete ),
>
> Sounds right!
>
> > the call to printf will
> > make the same effect, which I have tested it.
> >
> > Am I right ? :)
>
> If you've tested it then, yes you're right :). I h...
2006 May 17
0
[LLVMdev] Re: __main() function and AliasSet
...gt;>> Oh, I appologize that I should not have asked about __main() ---- it appears
>>>>>>> in FAQ.
>>>>>>> But the question remains that why call to __main() can alias stack location?
>>>>>>> I think the memory location pointed by data_X pointers are not visible to
>>>>>>> __main().
>>>>>>> In comparison, calls to printf() do not have similar effect.
>>>>>>
>>>>>> First, some background: -steens-aa and -anders-aa work reasonable well,
>>>>>...
2006 May 15
0
[LLVMdev] Re: __main() function and AliasSet
On Mon, 15 May 2006, Nai Xia wrote:
> In other words, if I only use -steens-aa and the data_XXXs are all
> external global variables( and so inComplete ),
Sounds right!
> the call to printf will
> make the same effect, which I have tested it.
>
> Am I right ? :)
If you've tested it then, yes you're right :). I haven't played with this
stuff for a long time...
2008 Apr 02
2
including a variable in another variable name
Dear R community, I wish to include a variable (e.g. slice of "a" below)
in another variable's name. My objective would be to get a variable-name
"data_A" and so on. How can I do this?
> a<-LETTERS[1:25]
> a
[1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P"...
2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
...DW_TAG_member '__size'
refers to type 0x10baf04d which extends beyond the bounds of 0x10baefae*
(facebook::biggrep::BigGrepMasterAsync *) this = 0x00007fd14d374fd0
(const string &const) corpus = error: summary string parsing error: {
store_ = {
= {
small_ = {}
*ml_ = (data_ =
"��UH\x89�H�}�H\x8bE�]ÐUH\x89�H��H\x89}�H\x8bE�H\x89��~\xb4��\x90��UH\x89�SH\x83�H\x89}�H�u�H�E�H���\x9e���H\x8b\x18H\x8bE�H���O\xb4��H\x89ƿ\b",
size_ = 0, capacity_ = 1441151880758558720)*
}
}
}
*(const string &const) needle = error: summary string parsing error: {*
store_...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...refers to type 0x10baf04d which extends beyond the bounds of 0x10baefae*
> (facebook::biggrep::BigGrepMasterAsync *) this = 0x00007fd14d374fd0
> (const string &const) corpus = error: summary string parsing error: {
> store_ = {
> = {
> small_ = {}
> *ml_ = (data_ =
> "��UH\x89�H�}�H\x8bE�]ÐUH\x89�H��H\x89}�H\x8bE�H\x89��~\xb4��\x90��UH\x89�SH\x83�H\x89}�H�u�H�E�H���\x9e���H\x8b\x18H\x8bE�H���O\xb4��H\x89ƿ\b",
> size_ = 0, capacity_ = 1441151880758558720)*
> }
> }
> }
> *(const string &const) needle = error: summary stri...
2011 Jun 14
1
problems with plots in loop (corrected Email)
...try(guess <- predict(resultslist_1600[[i]]) )
if(class(guess) == "try-error") {next}
fit <- smooth.spline(Zeit, guess)
der <- 100*(predict(fit, Zeit, deriv = 1))$y
if((i/4)%%1 ==0){par(mar =c(4,4,0, 0) + 0.1)}
else{par(mar =c(0,4,0, 0) + 0.1)}
leg = paste("Data_", i,sep = "")
plot(resultslist_1600[[i]], type = "all", pch = ".", ylab = "Signal",
log = "", axes = F)
lines(Zeit, der)
if((i/4)%%1 ==0){axis(1, at = seq(0, 360, length = 6), label = c(),
font = 2)}
axis(2, at =
pretty(na.omit(eval(par...
2009 Nov 12
2
Question about simulation design...
...nal data sets for a simulation study that I would like
to bring into R to analyze. They have the names data1.dat, data2.dat,
..., dataN.dat
Is there a way to automatize the bringing in of these data sets in R
using the read.table function within a looping cycle?
For example...
for (j in 1:N){
data_"j" = read.table("data"j".dat, header=F)
executable code
.
.
.
}
bring in the next data set.
SAS uses a ampersand "&" to automatize the process.
Example code:
data _NULL_;
set final;
filename out "C:\data&k..dat";
file out...
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
...st std::string &) @0x7fd133cfb888: {
static npos = 18446744073709551615, store_ = {
static kIsLittleEndian = <optimized out>,
static kIsBigEndian = <optimized out>, {
small_ = "www", '\000' <repeats 20 times>, "\024", ml_ = {
data_ = 0x777777 <std::_Any_data::_M_access<void
folly::fibers::Baton::waitFiber<folly::fibers::FirstArgOf<facebook::servicerouter::RequestDispatcherBase<facebook::servicerouter::ThriftDispatcher>::prepareForSelection(facebook::servicerouter::DispatchContext&)::{lambda(folly::fibers...
2010 Nov 06
4
Using changing names in loop in R
...I have usually solved this problem by repeating lines of codes instead of a
loop, but it's such a waste of time, I thought I should really learn how to
do it with loops:
What I want to do:
Say, I have several data files that differ only in a number, e.g. data
points (or vector, or matrix...) Data_1, Data_2, Data_3,... and I want to
manipulate them
e.g. a simple sum of several data points
>data <- c(NA,n)
>for (i in 1:n){
>data[i] <- Data_i + Data_[i-1]
> }
I know that the above code doesn't work, and I don't want to combine the
files into one v...
2013 Feb 14
1
execute an external program in R
...o execute an external program inside a
for loop. this program needs the input and output names.
since the names will change in the for loop I am not able to use the
programs on all the files
for (k in 1:10){
x=read.table ("data.txt")
xx=x[1:5, ]
xxx=paste0("data_",k,"txt")
write.table (xx,xxx,quote =FALSE, sep = "\t",row.names = FALSE,
col.names = FALSE)
system ('dssp.exe -i xxx -o xxx.out)
}
Best Regards,
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...7fd133cfb888: {
> static npos = 18446744073709551615, store_ = {
> static kIsLittleEndian = <optimized out>,
> static kIsBigEndian = <optimized out>, {
> small_ = "www", '\000' <repeats 20 times>, "\024", ml_ = {
> data_ = 0x777777 <std::_Any_data::_M_access<void
> folly::fibers::Baton::waitFiber<folly::fibers::FirstArgOf<facebook::servicerouter::RequestDispatcherBase<facebook::servicerouter::ThriftDispatcher>::prepareForSelection(facebook::servicerouter::DispatchContext&)::{lambda(folly::f...