Displaying 20 results from an estimated 112 matches for "cin".
Did you mean:
can
2013 Mar 09
2
grouping followed by finding frequent patterns in R
I have a data in the following form :
CIN TRN_TYP
9079954 1
9079954 2
9079954 3
9079954 4
9079954 5
9079954 4
9079954 5
9079954 6
9079954 7
9079954 8
9079954 9
9079954 9
. .
. .
. .
there are 100 types of CIN (9079954,12441087,15246633,...) and res...
2006 May 22
2
Inserting data in a table with a varchar key field
Hi all,
I have some problems inserting data into a legacy table. the key field
of this table is a field named CIN which is a varchar(15).
when I try insert into this table using a form (generated by the
scaffold generator) I get this Error :
_____________________________________________________________________
undefined method `CIN_before_type_cast'' for #<Candidat:0x370d8c8> |...
2004 Sep 14
1
documentation error par("cin") and par("cra") (PR#7227)
Dear all,
the help of par() claims that
cin and cra are
c(width, height)
but it appears to be rather
c(height, width)
Best regards
Jens Oehlschl?gel
> plot.new()
> strheight("W", unit="inches")
[1] 0.1354167
> par("cin")
[1] 0.1354167 0.1875000
> version
_
platform i386-...
1997 Jun 23
0
R-alpha: various graphics Q.
...nd xlim, ylim) isn't documented
axis() first argument is called "side" (not "which" as in S: see
comment above)
In lines 5-8 I correct what I think is a bug -- since "cra" (character
size in rasters) doesn't change with "cex", the legend line-spacing
doesn't change correctly for cex>1.
The other changes, which should definitely be considered optional, adds
the capability I've always wanted in legends -- to be able to mix symbols
and lines in the same legend without having to have a symbol or a line for
every item in the legend, a...
2006 Dec 07
7
[LLVMdev] #include <iostream>
...stream>" in any library source code file, except for lib/
Support/Streams.cpp. Please use the following instead:
OLD NEW
--- ---
std::ostream llvm::OStream
std::istream llvm::IStream
std::cerr llvm::cerr
std::cerr llvm::cout
std::cin llvm::cin
DEBUG(std::cerr DOUT
If you have something like this:
void print(std::ostream& O);
You can pass the LLVM streams in like this:
print(*cerr.stream());
Or you can change the print() method to take an llvm ostream:
void print(llvm::OStream& O);
print(cerr);
-...
2007 Jan 26
1
Inferring dimensions on bitmap device from par()
...trying to infer the dimension of an opened bitmap (png, jpeg,
bitmap device...) from par() parmeters. From the help on par(), I
found that:
> dim <- c(400, 200)
> png("foo.png", width=dim[1], height=dim[2])
> dim2 <- par("din") * par("cra") / par("cin")
> dev.off()
> dim2
[1] 399.9999 199.9999
I've tried the above on Rv2.4.1 on WinXP and Linux with png() and
jpeg() and the precision is good enough. However, when I turn to the
bitmap() device, I found the following:
> s <- 3; # Multiple of 72pt (default value of argument...
1997 May 11
2
R-alpha: Logarithmic scales
...uot;o",
bg = par("bg"), xjust = 0, yjust = 1, ...)
{
xlog <- par("xlog")
ylog <- par("ylog")
if (xlog)
x <- log10(x)
if (ylog)
y <- log10(y)
xchar <- xinch(par("cin")[1])
ychar <- yinch(par("cin")[2]) * 1.2
xbox <- xinch(par("cin")[2] * 0.8)
ybox <- yinch(par("cin")[2] * 0.8)
yline <- 2 * xchar
w <- 2 * xchar + max(strwidth(legend))
h <- (length(legend) + 1) *...
2001 Apr 23
1
Plot size
Hello, R People:
How do I change the size of a graph, please?
I tried par(cin=c(8.5,11))
and it said that
Warning message:
parameter "cin" can't be set in: par(args)
> par(fin=c(8.5,11))
> plot(xa,ya)
Error in plot.new() : Figure region too large
Also, can I set for portrait or landscape, please?
Thanks in advance!
Erin M. Hodgess, Ph.D.
Associate...
2005 Nov 24
1
font size in legend
Hy all
I use barplot to draw frequencies by dates.
On the x axis it shows only 1 date for 2 bars, i've understand why, because R cant put so much date on the same axis, it will get out of the graph.
that's why i tought about reducing the size of the font used to stamp the x axis.
anyone knows the right way? i've tryed par(cin) and barplot(cin=3) but it says i cannot do it at this level...
thks you all.
guillaume.
2010 Apr 15
1
R interactive input like C++
Hi,
Does R have some way to function as the cin object in C++
like I generate a integer variable x in R, and I want the user to input the
value x, like in C++
cin>>x
I have been using R as a statistics graduate students for 2 years but never
know any function similar like this. Any suggestion will be highly
appreciated.
Zhou
[[altern...
2006 Dec 08
0
[LLVMdev] #include <iostream>
...file, except for lib/
> Support/Streams.cpp. Please use the following instead:
>
> OLD NEW
> --- ---
> std::ostream llvm::OStream
> std::istream llvm::IStream
> std::cerr llvm::cerr
> std::cerr llvm::cout
> std::cin llvm::cin
Nice! Can you add this to the coding standard guide when you get a
chance?
Thanks,
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
1998 Jun 17
1
Warning in par(args)
...ert
_____
All dse3 tests ... ok
All dse4 tests ...Warning: skipping test 4 (requires stepwise).
ok
dse2 graphics tests ...completed
dse3 graphics tests ...completed
dse4 graphics tests ...completed
All Brief User Guide example part 1 tests ...Read 1820 items
Warning in par(args) : parameter "cin" can't be set
Warning in par(args) : parameter "cra" can't be set
Warning in par(args) : parameter "csi" can't be set
Warning in par(args) : parameter "din" can't be set
Warning in par(args) : parameter "cin" can't be set
Warning in p...
2006 May 23
3
[LLVMdev] Binary output to cout on Windows
...if( result == -1 )
{ std::cerr<<"Cannot set input mode to binary."<<std::endl; return 1;
}
result = _setmode( _fileno(stdout), _O_BINARY );
if( result == -1 )
{ std::cerr<<"Cannot set output mode to binary."<<std::endl; return 1;
}
before using cin or cout. I'm not sure where to add this however, since
it needs to be called before any reads or writes are done, but only
needs to be called once. Any suggestions? At the moment in my own code,
I'm adding them to the tools source files, since that's where it's
determined that cin/c...
2013 Jun 24
2
[OT] bash here documents
Suppose I have this C++ program:
#include <iostream>
int main (int argc, char** argv)
{
while (1)
{
char cmd[80];
std::cin.getline(cmd, 80);
std::cout << "response to " << cmd << std::endl;
}
}
compiled by: c++ -o junk junk.cpp
and I have this bash script:
#!/bin/bash
./junk <<EOF
blah
bleh
\cC
EOF
echo "Something else"
When I run the script, the program starts...
2006 Nov 09
1
unsubscribe
Adam Mattina
Networking & Systems Support
Layer 8 Group, Inc.
585.442.8888
amattina@layer8group.com <mailto:amattina@layer8group.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061109/023a0a3e/attachment.htm
2012 May 11
2
moving data from one frame to another
...ID VTm VPts HTm HPts HDifferential VDifferential
1 1 NFL_20050908_OAK at NE OAK 20 NE 30 10 -10
2 1 NFL_20050911_ARI at NYG ARI 19 NYG 42 23 -23
3 1 NFL_20050911_CHI at WAS CHI 7 WAS 9 2 -2
4 1 NFL_20050911_CIN at CLE CIN 27 CLE 13 -14 14
5 1 NFL_20050911_DAL at SD DAL 28 SD 24 -4 4
6 1 NFL_20050911_DEN at MIA DEN 10 MIA 34 24 -24
VTm.f HTm.f average
1 OAK NE 19.4375
2 ARI NYG 19.4375
3 CHI WAS 19.4375
4...
2005 Jun 01
1
panel.axis() & grid/lattice settings
...x, etc. in the top-level call.
However, I am interested in determining values for cex and rot based on the
current panel / viewport and device. More specifically, I would like to make
adjustments when tick labels overlap on the x-axis, such as labels of a
factor. If I use base graphics, par("cin") or par("cxy") or strwidth(), etc.
can be used to develop an algorithm to adjust cex or/and rot if needed.
I am trying to determine the parameters/settings in grid analogous to
par("cin"), etc. mentioned above, knowing that par() has no effect in
lattice / grid. I have du...
2009 Feb 17
1
plot.lm: "Cook's distance" label can overplot point labels
...for the point with the
smallest residual. This is an issue when the size of the plot is much
less than the default, and the pointsize is not reduced proportionately.
I suggest the following:
xx <- hii
xx[xx >= 1] <- NA
## Insert new code
fracht <- (1.25*par()$cin[2])/par()$pin[2]
ylim[1] <- ylim[1] - diff(ylim)*max(0, fracht-0.04)
## End insert new code
plot(xx, rsp, xlim = c(0, max(xx, na.rm = TRUE)),
ylim = ylim, main = main, xlab = "Leverage",
ylab = ylab5, type = "n", ...)
Then, about 15 line...
2008 Aug 02
3
Bubble plots
Is there a way to create a 'bubble plot' in R?
For example, if we define the following data frame containing the level of y observed for 5 patients at three time points:
time<-c(rep('time 1',5),rep('time 2',5),rep('time 3',5))
2003 May 12
2
on.exit(par(old.par)) warnings
I often use something like
old.par <- par(set someting)
on.exit(par(old.par))
but in R 1.7.0. I now get warnings:
> old.par <- par()
> par(old.par)
Warning messages:
1: parameter "cin" can't be set in: par(args)
2: parameter "cra" can't be set in: par(args)
3: parameter "csi" can't be set in: par(args)
4: parameter "cxy" can't be set in: par(args)
5: parameter "din" can't be set in: par(args)
6: gamma cannot b...