A*******s 发帖数: 3942 | 1 suppose we use a procedure to get a table from output mode, for example:
output out=dataset ...;
or use ODS output table like:
ods output ods_table_name=dataset;
However in neither way can i use obs= dataset options to restrict the number of observations in output dataset, the following code doesnt work
ods output ods_table_name=dataset(obs=1);
But other dataset options seems OK, say where=, keep=, drop=, ...
couldnt understand why |
|
j*z 发帖数: 620 | 2 例如我重复使用proc mean计算出不同的output的结果,如何用ods把所有我指定的
output中某一项的结果放入同一个文件当中?我知道假设在用 output xxx(文件名)
可以指定输出路径,但是问题是重新run一轮结果后,后面的结果会覆盖前一次的结果
。我想可不可以在同一个output的输出文件内累加结果,如
第一次使用proc mean。。。output a。。。 后
a 文件内记载了我需要的内容;
第二次使用proc mean。。。output a。。。 后
a 文件继续添加我需要输出的内容;
菜鸟SAS恳求达人指导!!
包子感谢! |
|
m*********y 发帖数: 389 | 3 I was trying to use SQL Server 2008's Import and Export Wizard to report
more than 1 million rows directly into EXCEL. Every time when I choose from
a list of the Excel versions they support, I chose 'Excel 2003' -- obviously
, only Excel 2003 and above version allow more than 65k records. Then I
specify the output file name and location and click 'Finish'.. However, the
wizard would ignore the version I selected for Excel, and still went ahead
and exported into an earlier versions of Excel, lik... 阅读全帖 |
|
w**t 发帖数: 1037 | 4 I used to have similar setup, Oppo 93 decode and output 5.1 analog signal to
my Lexicon receiver.
1. yes, lossless is always better than the lossy DTS/DD ,but whether you can
tell the difference or not depending on your system and your ear.
2. typically blu-ray player can mixed the 7.1 into 5.1 output, at least my
oppo player does it.
but I don't recommend using analog output to receiver because of the extra A
/D convert process unless your receiver is excellent doing A/D convert.
Denon 3805's a... 阅读全帖 |
|
p****r 发帖数: 353 | 5 Beginner, hope help!
My question is:
There is a CGI or some thing like it, which can process input
and then give out some output like number or words.
This html is not local, at a remote website, but I can call it
with my parameter.
Now what I can do is type the "URL?myinput" in the browser,
then I can see all the output on the screen.
I want to use the returned output in my webpage, how can I
intercept the output of that remote call ?
Thanks!
Thanks a lot. I need help!!!
GEI Da Jia Ju Gong Le! |
|
s*******m 发帖数: 2572 | 6 我是学生物的,没有一点电路知识,别说数电魔电了,结果现在傻眼了:
一块NI PCI 6711的板子在我手上坏了两次:第一次我线路插错了,digital output烧
了;修好了后装上,刚开始还好好的,后来发现solenoid valve不反应,查了查,板儿
上64pin当中恒定5v的pin只给我1.5v,没法带动另外一个drive (这个drive是带动和
协调几个solenoid valves,但是这个另有dc电源提供,这个5v在我的理解是,有了它
,valve的开关才能受ttl pulse的协调),anyway,这块板给flow controller提供
analog signal。
第二次送去修,回来的报告是analog output坏了,但是,当时flow controller还是显
示了我输入的数值,说明有正确的analog signal啊,而且为什么analog坏了,5v的pin
会没足够电丫呢。。。
好像太白痴了,连问题也讲不太清楚;不过还是在这里希望工程师同志们讲讲,analog
output会有什么原因坏呢?小女子先谢过了。 |
|
y******0 发帖数: 401 | 7 I am not sure what you meant.
If you want to output to three different datasets, let the dataset called:
page
data page1 page2 page3;
set page;
if id='001' then output page1;
if id='002' then output page2;
if id='003' then output page3;
run;
Then you can get three datasets.
If you want to print out, you can do like:
proc sort data=page;
by ID;
run;
proc report data=page;
by ID;
column ID var;
define ID/display;
define var/display;
run; |
|
c****n 发帖数: 46 | 8 我用zed mixer XLR output 直接推后级功放-crown xls1000 感觉输出很无力.
signal indicator on amplifier shows output signal smaller than -40db.
请问是mixer 输出电压不够吗?zed说明书上写的XLR output 0~21dBu. 怎么解决?
多谢大家讨论指教。 |
|
l***e 发帖数: 136 | 9 【 以下文字转载自 Military 讨论区 】
发信人: lzhwe (楼主很万恶), 信区: Military
标 题: 中国人现在追求的是MIMO:min input, max output
发信站: BBS 未名空间站 (Tue May 20 09:58:38 2014, 美东)
不是multiple input multiple output,是
minimizing input and maximizing output
谁都不傻,谁都不愿意被剥削,谁都不愿意被消费
谁都不愿意干只有投入没有产出的事情
很多现象可以用这个来解释 |
|
st 发帖数: 1685 | 10 plz help:
line.Format("{call %s.dbo.p_getVDKFilters (%d, %s, null, ?, ?)}",
m_sDatabase, m_instance, from_date);
the call is like
{call p_getVDKFilters (-1,null,null,@errcode,@errmsg)}
I can get output result from query analyzer, the similar
java program works... but this one does...
very simliar call to another store procedure can work...
the problem is one of the "null" is a datetime type for output parameter.
the other store procedure has nothing like this...
it outputed once, after a minor c |
|
g*******0 发帖数: 127 | 11 如果一个程序运行很长时间,期间不停有输出到屏幕上,因为使用了很多 "r" (CR符,
用作返回到同一行输出的开始),因此虽然输出很多,但只有一行,我使用了将输出
Redirect to file,想看到on processing的状态,可由于输出只有一行几乎无限长,
基本上在vim上没法看。想使用pipe line将输出处理一下再存到文件里,使用以下方法:
$ prog | sed `s/r/n/g` > output.txt
将 prog的输出通过 sed 将 CR (r) 换成 LF(n),这样r就变成了换行符n,再存到
文件中,就不会是只有一行无限长的文件了。
可是sed总是需要等到 prog将所有的输出都输出完以后才开始处理,虽然output.txt里
面存的基本上符合要求,可是我本来的目的是为了在 prog 运行的过程中查看 output.
txt,现在sed要等到prog都运行完以后才开始处理,那就没有意义了。
看sed的说明是可以处理stream strings的,可是它总是先buffer一行,然后才处理。
想问一下,怎么样才能使sed处理一行的一部分输出,然后再接着处理... 阅读全帖 |
|
|
c*****t 发帖数: 1879 | 13 Normally, both the stderr and stdout output goes to the screen.
If you are redirecting the output to a file or command, you can
redirect stderr by
command > output.txt 2>&1 |
|
|
s*******m 发帖数: 2572 | 15
首先谢谢你的热心,实在不好意思,门外汉就是这样连问题都说不清楚。
提供5v的是这64pin的NI pci-6711 名字叫analog output board:http://sine.ni.com/nips/cds/view/p/lang/en/nid/10700。 这块板子应该提供5v恒定电压的两个pin都只给了我1.5v,已经送给ame修完寄回来了。汗一个,确实不是我修,我发帖的问题是想不通,就是提供恒定电压的pin怎么会坏了呢?返修报告上写的很简单,只是说analog output坏了,什么样的情况这个东西会坏呢?
再次感谢。 |
|
l****u 发帖数: 3449 | 16 【 以下文字转载自 Computation 讨论区 】
发信人: lotayu (罗大佑), 信区: Computation
标 题: fortran output 弱问题求助
发信站: BBS 未名空间站 (Mon Apr 6 17:52:50 2015, 美东)
一串数字output,每个数字宽度不一样,但要求都间隔一个空格
比如 12,2.3,4000,500.000,要output成
——————————————————————
12 2.3 4000 500.000
——————————————————————
应该怎么控制?默认输出的话每两个数字中间是个tab
包子感谢! |
|
|
c**********e 发帖数: 2007 | 18 proc means data=temp mean std median max min;
var age;
class c1;
output out=summ;
run;
The above procedure gives median in list output, but not in
the output dataset summ. Could anybody tell why? And how to
put median to the summ dataset.
Thanks a lot! |
|
m********8 发帖数: 28 | 19 用PROC MODEL 做一个regression analysis,大概的程序是这样的:
PROC MODEL data=he;
By position;
parms a b1 b2;
difference = a + b1*X1 + b2*X2; fit difference;
test 'b1=b2' b1=b2;
run;
我现在的问题是,因为Position有很多个,所以output很长。output中对我有用的是,
每个position的
1)整个model的p value
2)b1和b2的p values
3)b1=b2的test的p value
整个数据文件中一共有300多个positions,所以如果要手工操作,记录下这些p value
会非常费时费力,有没有方法可以将output中的每个position的这几个p value都直接
提取出来,放到一个excel文件里边去?
谢谢! |
|
g*********e 发帖数: 458 | 20 谢谢大家的回答。
%put 和 putlog 还是往log里写,不能往output里写。我想自己往output里随便写点东
西。
title/footnote能往output里写。但是我现在有个难题。我的report看上去应该像这样:
Research XXX
Student_Id=001 Student_Last_Name=...
XXX=。。。。。。。。。
YYY=...
XXX XXX XXX
............
............
YYY
XXX XX XXX
..........
..........
而这部分:
Research
Student_Id=001
在Student_Id没有变化的情况下需要在每一个相关页的顶部出现,不能只出现在第一页
。还有就是001在换下一个学生的时候,要跟着变的。=001要黑色,其他非数据的部分
要蓝色。其实report的顺序是按id sorted的。
直接proc print, by的话,在格式上很难严格达到上面的样子。所有的数据都是黑色,
变量名都是蓝色。但是有时候数据和变量名在同一行,有时要list。全在一个id下。
头疼。 |
|
D******n 发帖数: 2836 | 21 lets say i did sth like this
ods output OneWayFreqs = tab;
proc freq;tables xxx;by yyy;run;
ods output close;
the resultant table 'tab' is a messed up, Can I tweak this to output all
the tables by yyy separately? |
|
|
l***e 发帖数: 136 | 23 不是multiple input multiple output,是
minimizing input and maximizing output
谁都不傻,谁都不愿意被剥削,谁都不愿意被消费
谁都不愿意干只有投入没有产出的事情
很多现象可以用这个来解释 |
|
u********d 发帖数: 206 | 24 正琢磨买一功放兼做卡拉OK和家庭影院。例如,ONKYO TX-NR808, 7.1 channels 加“
powered 2nd room stereo output". 用作影院的7.1channel环绕, 135 watts x7, 好
像不能用来做卡拉OK用. 两个问题:
1 我是应该把powered 2nd room stereo output接到卡拉OK的两个大音箱吗?功率是多
少?
2. 怎么在7.1环绕和stereo之间切换?
谢谢 |
|
|
|
m****k 发帖数: 51 | 27 Because of the security problem, you can not read output from
other website ( not the same domain as your) in your webpage ( no matter
Javascript or Java Applet you are using).
But you can use Java ( or any other network program) to build a program
which can read output from other website. |
|
m*****y 发帖数: 120 | 28 Does anyone know how to format the output from mysql?
I issue a query (such as select A, B, from table C), and redirect the
results to a file. But I want to contact the format, such as whether to use
"|" as default delimiter to columns, or use "-" in the output header and
tails.
Thanks. |
|
g*****g 发帖数: 34805 | 29 There's only one standard input and output I believe.
It's easy to log to different files but I don't know
how to open multiple standard input.
You can always force the input or output to use an identifier.
threads都
out。
的话 |
|
w*s 发帖数: 7227 | 30 Am running a test, it failed, so want to capture all outputs to the file,
1. cmd 2>&1 > mylog
2. cmd 2>&1 1> mylog
3. cmd | tee mylog
if just run cmd, there're 100 lines of output,
but if try the above 1,2,3, only 20 lines, most are missing.
Any suggestions ? |
|
n********a 发帖数: 119 | 31 Let's say there are 10k files need to be output in one C program.
It seems that I can't do that, the program stops after output like 1k files.
If I run the program on different PCs, the stop points are different on each
PC.
Probably that's b/c of memory problem, but I'm not sure about it
and how to solve it.
Any suggestion? |
|
y******n 发帖数: 3 | 32 This might be a very simple question for most of the people here.I am using
Perl.I have to use system calls to run another fortran script. I am running
this fortran script on thousands of different input files. For some files,
the script doesn't work and output an error message. I need to get these
error messages. But I don't know how to do this. Please help!!!!
If I run this fortran script independently, the error message will be
through the standard output. But using the system calls, I don't |
|
L*********r 发帖数: 92 | 33 Go to menu 'View' and choose 'Output'.
Right click on the 'Output' window,
uncheck 'Auto Hide'. |
|
A******a 发帖数: 61 | 34 【 以下文字转载自 Linux 讨论区 】
发信人: Ataraxia (静), 信区: Linux
标 题: how to sed from grep output in c shell?
发信站: BBS 未名空间站 (Fri Jan 25 11:45:51 2008)
by using
foreach i (*.txt)
grep -o 'Modules:[0-9]' $i
end
i got return like
Modules:2
Modules:1
Modules:10
Modules:0
Modules:7
...
I want to cut off "Modules:" and only keep the integer number, how should i
use sed based on this output?
grep ... | sed
or
sed ... $(grep...)
Thanks. |
|
c**********e 发帖数: 2007 | 35 Why output.txt not generated? What is wrong?
#include
#include
using namespace std;
void print(int num, fstream& fout)
{ fout << num << endl; }
int main() {
fstream fout;
fout.open("output.txt");
print(2, fout);
print(3, fout);
} |
|
S******y 发帖数: 1123 | 36 I am writing out my output to a txt file. It should be like -
10:
1.687
2.999
4.752
2.876
1.086
3.478
4.326
2.836
1.563
5.000
1000:
3.157
3.480
3.118
but now it is being output like this,which is wrong -
10:
1.6872.9994.7522.8761.0863.4784.3262.8361.5635.0001000:
3.1573.4803.118
where 10 and 1000 are ids, the other numbers are predicted ratings.
====================================================================
All I did was - changing "swprintf" in the original code to "_snprintf"
in the code |
|
s******s 发帖数: 505 | 37 another question,
y = 6.0;
cout << y << endl;
will output '6'.
How to make it output '6.00'? |
|
W**********E 发帖数: 242 | 38 用SAS输出了OUTPUT,如何把OUTPUT加到LATEX中输出?
谢谢 |
|
h**h 发帖数: 132 | 39 I have one Sun E250, it was working OK
I unplug video cable and keyboard to use somewhere else
after I tried to put it back, there is no video output from that E250
now!!!
I can hear "beep" when I unplug the keyboard from E250
I guess it is kind of warning, but even after I put it back
I lost video output, the monitor just goes to sleep
sigh |
|
r*****s 发帖数: 985 | 40 % acroread -toPostScript input.pdf output.ps
% psnup -nup 4 output.ps final.ps |
|
c*****t 发帖数: 1879 | 41 Which shell are you using?
If you are using tcsh, then it is
command >& output.txt
(both the stdout and stderr are logged into output.txt) |
|
S******y 发帖数: 1123 | 42 I am writing out my output to a txt file. It should be like -
10:
1.687
2.999
4.752
2.876
1.086
3.478
4.326
2.836
1.563
5.000
1000:
3.157
3.480
3.118
but now it is being output like this,which is wrong -
10:
1.6872.9994.7522.8761.0863.4784.3262.8361.5635.0001000:
3.1573.4803.118
where 10 and 1000 are ids, the other numbers are predicted ratings.
====================================================================
All I did was - changing "swprintf" in the original code to "_snprintf"
in the cod |
|
l****u 发帖数: 3449 | 43 一串数字output,每个数字宽度不一样,但要求都间隔一个空格
比如 12,2.3,4000,500.000,要output成
——————————————————————
12 2.3 4000 500.000
——————————————————————
应该怎么控制?默认输出的话每两个数字中间是个tab
包子感谢! |
|
y*********n 发帖数: 22 | 44 Gray书上不是还说diff output需要匹配两个反馈网络么?这应该也算一个single
output的优势。 |
|
s*********i 发帖数: 107 | 45 有这样一个nonlinear system
x' = u
y = (2-cosx)*(2-cosx)
怎样找到一个控制率u,能对该系统进行输出调节,使得系统的输出y随时间无限接近某
个值。
对于这种非线性系统的nonlinear output regulation问题,在理论上已经解决了吗?
发现关于 nonlinear output regulation 的书挺少的,是因为这个问题已经差不多被
解决了吗,还是因为太难了大家都啃不动。
谢谢 |
|
l**k 发帖数: 53 | 46 连续的几种分析,每种分析的output自己独立显示
也就是转换成word之后,不是所有的output 都是连着的。
请指教
谢谢大家! |
|
x**g 发帖数: 807 | 47 不是很清楚你的问题。如果你要选择特定的Output的部分,可以查看ODS(output
delivery system)的使用. |
|
a*****8 发帖数: 110 | 48 ods output onewayfreqs=freq;
proc freq data=x;
table var1;
by var2;
run;
ods output close; |
|
S******y 发帖数: 1123 | 49 I am writing out my output to a txt file. It should be like -
10:
1.687
2.999
4.752
2.876
1.086
3.478
4.326
2.836
1.563
5.000
1000:
3.157
3.480
3.118
but now it is being output like this,which is wrong -
10:
1.6872.9994.7522.8761.0863.4784.3262.8361.5635.0001000:
3.1573.4803.118
where 10 and 1000 are ids, the other numbers are predicted ratings.
====================================================================
All I did was - changing "swprintf" in the original code to "_snprintf"
in the code |
|
m******1 发帖数: 19713 | 50 Thanks.
It helps with outputing likelihood ratio test statistic. What about score
test?
If it is an univariate model, score and LR tests can be outputed using ods using the global test results. However, my model is a multivariable model. |
|